package com.sz.sendmsg.feign;

import com.sz.sendmsg.vo.PageVO;
import com.sz.sendmsg.vo.QueryVO;
import com.sz.sendmsg.vo.TransferVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "QUERY-SERVICE")
public interface QueryServiceFeign {
    @PostMapping("/query/condition")
     QueryVO queryByCondtion(@RequestBody  TransferVO vo);
    @PostMapping("/query/err")
    public QueryVO getQueryErr(@RequestBody PageVO vo);
}
